<template>
	<div>
		<table class="table1 owntable mb20 tableLayout" border="0" cellspacing="0" cellpadding="1" width="100%">
			<tr>
				<td width="150">设计开发转换管理编号</td>
				<td>{{ item.number }}</td>
				<td width="150">设计开发计划管理编号</td>
				<td>{{ item.planNumber }}</td>
			</tr>
			<tr>
				<td>产品名称</td>
				<td>{{ item.name }}</td>
				<td>规格型号</td>
				<td>{{ item.skus }}</td>
			</tr>
			<tr>
				<td>产品代码</td>
				<td>{{ item.code }}</td>
				<td>管理部门</td>
				<td>{{ item.manageDeptName }}</td>
			</tr>
			<tr>
				<td>负责人</td>
				<td>{{ item.manageUserName }}</td>
				<td>编制部门</td>
				<td>{{ item.createDeptName }}</td>
			</tr>
			<tr>
				<td>检验设备</td>
				<td colspan="3">{{ item.deviceList && item.deviceList.length != 0 ? '有' : '无' }}</td>
			</tr>
		</table>

		<table class="table1 owntable mb20 tableLayout" border="0" cellspacing="0" cellpadding="1" width="100%" v-if="item.deviceList.length != 0">
			<tr>
				<td>设备名称</td>
				<td class="gray_bg">设备型号</td>
				<td>设备编号</td>
			</tr>
			<tr v-for="(v, i) in item.deviceList" :key="i">
				<td class="white_bg">{{ v.deviceName }}</td>
				<td class="white_bg">{{ v.deviceModel }}</td>
				<td class="white_bg">{{ v.deviceNumber }}</td>
			</tr>
		</table>
	</div>
</template>

<script>
export default {
	props: {
		item: {}
	}
};
</script>

<style></style>
